package com.crr.mapper;

import com.crr.bean.OrderItem;
import com.crr.crud.MyBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderItemMapper extends MyBaseMapper<OrderItem> {
    /**
     * 批量保存
     * @param orderId
     * @param orderItemList
     * @return
     */
    int bachSave(@Param("orderId") int orderId,@Param("orderItemList") List<OrderItem> orderItemList);
}
